package com.smartcommunity.service.camera;

import com.smartcommunity.dao.camera.CameraDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author nieming
 * @descrition
 * @date 2020/6/4
 */
@Service
public class CameraService {
    @Autowired
    private CameraDao cameraDao;

    public Integer getCameraCount(){
        return cameraDao.getCameraCount();
    }
    public Integer getCameraCountByType(Integer cameraType){
        return cameraDao.getCameraCountByType(cameraType);
    }
}
